/* 状态 日志 中间件 */
const loggerMiddleware = (store) => (next) => (action) => {
  console.log('this.state =>', store.getState())
  console.log('action =>', action)
  next(action)
  console.log('next state =>', store.getState())
}

export default loggerMiddleware;